package net.sevear.chaos.event
{
	import flash.events.Event;
	
	import net.sevear.chaos.vo.RecommendInfo;
	
	public class RecommendEvent extends Event
	{
		public static const GET_NEW_RECOMMENDLIST:String = "Get New RecommendList!";
		public static const SEND_A_RECOMMENDATION_SUCCESSFULLY:String = "Send a Recommendation successfully";
		public static const START_PLAYING_RECOMMEND:String = "start playing a recommendation";
		public static const REPONSE_A_RECOMMENDATION_SUCCESSFULLY:String = "Give a reponse to a recommendation successfully";
		
		public static const RECOMMENDATION_REQUEST_FAILED:String = "Recommendation Service failed";
		public static const SEND_A_RECOMMENDATION_FAILED:String = "Send a Recommendation failed";
		
		public static const RECEIVER_LIKED:String = "Recommendation like this track!";
		
		public static const GET_CONTACTS_RECENT_LIKES:String = "Gotten contacts recent like";
		public static const GET_RECOMMEND_STATICS:String = "Gotten recommend statics";
		
		public static const LISTEN_URL_OUTTODATE:String = "Recommendation Listen outtodate";
		public static const RECOMMEND_SERVICE_ERR:String = "Recommend Service Err temporily";
		private var _data:Object;
		public function RecommendEvent(type:String,data:Object = null)
		{
			_data = data;
			super(type, false,false);
		}
		
		public function get data():Object{
			return _data;
		}
	}
}